public abstract class TraceImpl extends java.lang.Object implements Trace
ALERTS, ALERTS_TRACE_NAME, CRITICAL, CRITICAL_TRACE_NAME, DEBUGGING, DEBUGGING_TRACE_NAME, EMERGENCIES, EMERGENCIES_TRACE_NAME, ERROR, ERROR_TRACE_NAME, HIGHEST_LEVEL, INFORMATIONAL, INFORMATIONAL_TRACE_NAME, LOWEST_LEVEL, NOTIFICATION, NOTIFICATION_TRACE_NAME, WARNING, WARNING_TRACE_NAME
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of this Trace object.
|
java.lang.String |
getSubFacility()
Returns the subFacility of trace
|
int |
getType()
Returns the type of trace.
|
void |
println(java.lang.Object object)
Prints the string returned by the Object.toString() method and terminates the line as defined
by the system.
|
void |
println(java.lang.String message)
Prints a message in the same format as Trace.print() and terminates the line as defined by
the system.
|
void |
println(java.lang.String mnemonic,
java.lang.Object object)
Prints the string returned by the Object.toString() method and terminates the line as defined
by the system.
|
void |
println(java.lang.String mnemonic,
java.lang.String message)
Prints a message in the same format as Trace.print() and terminates the line as defined by
the system.
|
void |
setDefaultMnemonic(java.lang.String mnemonic)
Sets a default mnemonic for all messages printed out to this trace.
|
public final void println(java.lang.String message)
Trace
public final void println(java.lang.String mnemonic, java.lang.String message)
Trace
public final void println(java.lang.Object object)
Trace
public final void println(java.lang.String mnemonic, java.lang.Object object)
Trace
public final java.lang.String getName()
Trace
public final void setDefaultMnemonic(java.lang.String mnemonic)
Trace
setDefaultMnemonic
in interface Trace
mnemonic
- a mnemonic stringpublic int getType()
Trace
public java.lang.String getSubFacility()
Trace
getSubFacility
in interface Trace